//
//  ZCXUserDetial.m
//  LoveOfPet
//
//  Created by dllo on 15/11/17.
//  Copyright © 2015年 孔维. All rights reserved.
//

#import "ZCXUserDetial.h"

@implementation ZCXUserDetial
- (void)dealloc{
    [_age release];
    [_avatar release];
    [_be_liked_count release];
    [_birthday release];
    [_Description release];
    [_ID release];
    [_friends_count release];
    [_gender release];
    [_screen_name release];
    [_url release];
    [_real_videos_count release];
    [super dealloc];
}
- (id)initWithDictionary:(NSDictionary *)dictionary{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}
+ (ZCXUserDetial *)ZCXUserDetialWithDictionary:(NSDictionary *)dictionary{
    ZCXUserDetial *user = [[ZCXUserDetial alloc]initWithDictionary:dictionary];
    return [user autorelease];
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"id"]) {
        self.ID = value;
    }
    if ([key isEqualToString:@"description"]) {
        self.Description = value;
    }
}
@end
